const express=require('express')
const app =express();
app.get('/api/courses',(req,res)=>{
    setTimeout(()=>{
      res.json([{name:"web全找课程"},{name:"web高级课程"}] )
    },1000)
  })
  app.listen(3000)